package com.jiazhong.mingxing.boot.boot10.controller;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/first")
@Tag(name = "firstController",description = "一个测试接口API集合")
public class FirstController {


    @GetMapping("/a")
    @Operation(description = "a方法，调用后会获取到一些信息")
    public String a() {
        return "This is FirstController`a method!";
    }
}
